﻿<Application x:Class="SlideView.Sample.App"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
             xmlns:pages="clr-namespace:SlideView.Sample.Pages"
             xmlns:library="clr-namespace:SlideView.Library;assembly=SlideView.Library">

    <Application.RootVisual>
        <library:SlideApplicationFrame Header="Slide View"
                                       Background="White">
            <library:SlideApplicationFrame.LeftContent>
                <pages:LeftView />
            </library:SlideApplicationFrame.LeftContent>
            <library:SlideApplicationFrame.RightContent>
                <pages:RightView />
            </library:SlideApplicationFrame.RightContent>
        </library:SlideApplicationFrame>
    </Application.RootVisual>

    <Application.Resources>
        <Style TargetType="TextBlock">
            <Setter Property="Margin"
                    Value="12" />
            <Setter Property="FontSize"
                    Value="42" />
            <Setter Property="FontFamily"
                    Value="Segoe WP Light" />
            <Setter Property="TextWrapping"
                    Value="Wrap" />
        </Style>
    </Application.Resources>

    <Application.ApplicationLifetimeObjects>
        <shell:PhoneApplicationService Launching="Application_Launching"
                                       Closing="Application_Closing"
                                       Activated="Application_Activated"
                                       Deactivated="Application_Deactivated" />
    </Application.ApplicationLifetimeObjects>

</Application>